<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
  </head>
  <body>
    <script src="https://cdn.bootcdn.net/ajax/libs/require.js/2.3.6/require.min.js"></script>
    <script src="dist/app.js"></script>

    <script>
      require(['App', 'User'], (App, User) => {
        console.log(User.title)
      })

      // require(['User'], User => {
      //   console.log(User.title)
      //   console.log(User.User.name)
      // })
    </script>
  </body>
</html>
